package com.ysx.service;

import com.ysx.entity.Memory;
import com.ysx.entity.Message;
import com.ysx.entity.User;

import javax.mail.MessagingException;
import java.util.List;

/**
 * @ClassName: MemoryService
 * @Description: 流年记业务层接口
 */
public interface MemoryService {
    List<Memory> listMemory();

    int saveMemory(Memory memory);

    Memory getMemory(Long id);

    int updateMemory(Memory memory);

    void deleteMemory(Long id);


}
